package com.wufun.overseas.models.bean;

import java.io.Serializable;

/**
 * Created by pengsk on 2015/8/12.
 */
public class DownloadUrlBean implements Serializable {
    private String down_source_name;
    private String down_source_url;
    /**
     * 是否是本地下载
     */
    private int down_url_type;
    /**
     * 是否允许放入确认按钮
     */
    private int is_confirm;

    public DownloadUrlBean() {
    }

    public int getDown_url_type() {
        return down_url_type;
    }

    public void setDown_url_type(int down_url_type) {
        this.down_url_type = down_url_type;
    }

    public String getDown_source_name() {
        return down_source_name;
    }

    public void setDown_source_name(String down_source_name) {
        this.down_source_name = down_source_name;
    }

    public String getDown_source_url() {
        return down_source_url;
    }

    public void setDown_source_url(String down_source_url) {
        this.down_source_url = down_source_url;
    }


    public int getIs_confirm() {
        return is_confirm;
    }

    public void setIs_confirm(int is_confirm) {
        this.is_confirm = is_confirm;
    }

//    @Override
//    public int describeContents() {
//        return 0;
//    }
//
//    @Override
//    public void writeToParcel(Parcel parcel, int i) {
//        parcel.writeString(down_source_name);
//        parcel.writeString(down_source_url);
//        parcel.writeInt(down_url_type);
//        parcel.writeInt(is_confirm);
//    }
    // 用来创建自定义的Parcelable的对象  
//    public static final Parcelable.Creator<DownloadUrlBean> CREATOR
//            = new Parcelable.Creator<DownloadUrlBean>() {
//        public DownloadUrlBean createFromParcel(Parcel in) {
//            return new DownloadUrlBean(in);
//        }
//
//        public DownloadUrlBean[] newArray(int size) {
//            return new DownloadUrlBean[size];
//        }
//    };

//    // 读数据进行恢复
//    private DownloadUrlBean(Parcel in) {
//        down_source_name = in.readString();
//        down_source_url = in.readString();
//        down_url_type = in.readInt();
//        is_confirm = in.readInt();
//    }
}
